#coding=UTF-8



STDOUT.reopen("index.html")
system("xsltproc Competences.xsl Competences.xml")

type = ["Autre", "Langage", "Methode", "Outil", "Reseau", "SGBD"]


type.each do |e|
  fork do
    STDOUT.reopen("#{e}.html")
    system("xsltproc Competences.xsl Competences.xml --stringparam type #{e}")
  end
end
